package com.zhong.gang.applib.http;

public class BaseDataBean<M> {

    /**
     * code : 0
     * isSucc : false
     * message : string
     * result : {}
     */

    private int code;
    private boolean isSucc;
    private String message;
    private M result;

    public M getResult() {
        return result;
    }

    public void setResult(M result) {
        this.result = result;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isSucc() {
        return isSucc;
    }

    public void setSucc(boolean succ) {
        isSucc = succ;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
